Skip to content

Conversation

SrushtikShetty
Copy link

@SrushtikShetty SrushtikShetty commented Aug 30, 2025

This PR improves the docstring of Series.str.cat to clarify the behavior when
concatenating with an Index or another Series.

  • Updates the Series.str.cat docstring to explicitly mention and demonstrate
    the expected behavior with Index inputs.
  • Aligns examples and explanations for consistency with Series inputs.
  • Removes ambiguity in the documentation to make usage clearer for users.

Closes #35556
Closes #51536

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DOC: Simplify pandas theme footer DOC: .str.cat output in case of Index object
1 participant